CC=g++
CFLAGS= -std=c++17 -O3 -Wno-deprecated
LDFLAGS= -lpthread -latomic -fopenmp
CPPFLAGS= -I./include

all: main

main:
	$(CC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) -g -o bin/pm main.cpp load.cpp

profile:
	$(CC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) -g -o bin/pm main.cpp load.cpp

clean:
	rm bin/*
